package com.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog.entity.SysRole;
import com.blog.util.tree.LayTreeVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgx
 * @Date 2022/9/1 21:51
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {


    List<LayTreeVo> getMenuInfo();

    /**
     * 批量删除角色
     * @param roleIdStr
     */
    void deleteRole(String roleIdStr);
}
